package cn.ryh.fastjson.entity;

import com.alibaba.fastjson.annotation.JSONField;

/**
 * @ClassName JsonEntity
 * @Description 返回JSONEntity
 * @Author RaoYH
 * @Date 2018/10/30 14:54
 */
public class JsonEntity {
    @JSONField(serialize=false)
    /**
     * 主键
     */
    private long id;
    private String name;
    private Integer age;

    public long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }
}
